stop working on empty line