fixed switch on .compare module