bug fix for navigation menu