fixed delete component