Empty rows are inserted while publishing the data