fix module resolver: get only module and type