fixed delete button issue