fix no class issue