fix contest edit bug for `base_url`