fix the top nav bug