fixed undef issue and casted string floats to true floats