fixing some style bugs