fixing the instance variable