Fixed classes calculation bug