handling special case of modules