Fixed mod loading crash