fixed io.k
removed some garbage
second try
Merge pull request #1000 from yilongli/fixing-issue-995

fixing issue 995