Fixed typo in functions calls