compiling with getters and setters and inserting into saved stacks, but assertion is failing