fixed ~# bug and worked around STDIN.pos exception