set type of custom modules