fix add to compare fault