workaround for both adding and deleting