bugfix compare