fixed weird navbar issue