Fix for loading incorrect paths