Fixed bug in type conversion of the arguments.