fixed problem with blank line input (for now)