fixed typo in return statement