Fixed an error caused by spelling mistake when initializing the class