Better functioning delete key