fixed lists with 1 element
stripped multiple blank lines