prevent cut/keypress