fixed some problem with compare and change url scheme