correction to urlparser