Fix bug with incorrect arguments.