restore callback in checkurl