fix some style bugs