Fixed the instance variable errors