main navigation erro fix