Remove invalid class