some fixes in judge
some fixes II