Fixed issue with compare, double declaration of a variable..