make sure filter doesn't get stuck after getting single-character key