problem freeing new stack