fixed class error