fix parsing empty line