fixed typo in method