fixed crazy problem in local header with routing