Add judge for bugfix