fix class methods guideline