fix syntax error
support for calling methods that take primitives