Fixes error with dealing modules without a file