pick function stylish fix as suggested on GH179