initial fix for hanging Str.lines on parrot