fix judge section