fixed error with blank lines