blank row bug fix