refine some styles