fix issue with blank lines