handle case where anonymous module has namespace