fix gallery, backspace, delete