fixed logging class