fixed rendering bug p->div.