Added control errors for parseUrl