fail-safes for F,X to stop floating point errors