fix: comparison involving different types