set correct moduleclass