handle bad classes