fix stack smash core.