Fix bug comparison