Fix IO exceoption with proc line