fixed typo causing arguments to be incorrectly handled