fixed navigation menu bug