stack ptr fix