finialize the top bar