removed bad comparison