fixed class declaration