classes fix