refine status bar. fix a little path bug.