fixes BASE_PATH