fixed double class issue