fixed delete on click