fix io statement parsing.
add method to check if it's an IO operator