fixed bug with answer not being a float number