Fixed BASE_DIR after switching settings to folder