fix bug in online_judge refresh