fixed some style bugs code,