fixed a typo preventing a key to be flushed