save float comparison; fixed syntax error