fix region order, add right side text margin