fix master class