couple of bugfixes for local stack assignment, UUID created with assignment