fixed plotting of stacks, if only stack exists