fix for base_url logout