fix delete key  behaviour on some machines