fix BASE_PATH