Fix bug on missing settings.BASE_URL