made floats more obvious in error message
fixed some bugs