fixed bug with object_stack delete and publish