module loading: initialize module index to invalid value.