clean function build_row
clean function