fix style bugs