improved plugin creation/deletion in object element