repair some style