fixed compare mode