shrink path arrays, fix typo