fix Stack array arrange fuction