fix #14 wrong count on stack markers