fixed case of blank line, used to seg fault