debug flag
fixed whitespace issue when reading tokens from stdin