remove i/o and syntax error