bugfix: ID compare