perhaps fix extra blanks being generated