Corrected an argument passing error