refine nav bar and others