Fixed issue when module could not be found.