fix compilation of 4 classes