fixed stack(again)