Bugfix compare