fixed some style bugs