change spans to row