fixed compare bug???