fixing 'float' on fps