this change seems to work for deletion