fixed some judge bugs