fixes compare issues