wrong validation for floats (closes #98)