Fixed stack memory align bug