code style format and some litter improvment