Fixed NullReference in getModule()