fixed 19-stack pinning bug