replace subtle compare with native bytes