Fix when nice_url is not active