Fixed a typo in methods