fixed delete feature