minor fix about writebehind keys