fixed stdin parser. 1.1-1.6 working