bugfix delete component