style adjust and repository function refine