Prevent error with float field