Fixed compare page init issue