need to fix stack-growth-sc. debug code is also saved