Fix local judging