fix syntax error
whitespace
consistent type conversion