problem with getting module id in remove/reopen