refactor row div