remove reference to invalid module