solved compare page bug