fixed misnamed variables within generateClassDefinitionExpression