fixed a bug with delete keys and input areas
seems to be working...