fixed a little bug in support Class constructor