Fixed bug when returning null module.