fixing a class