fixed some attributes for classes