add restrict rect for oshw text