make setting of BASE_URL work