simplify result type for ls()