more helpful error messages when loading mod