comparison bugfix