Fix loading status class not removed when no url was provided