fixed: comparing flags in routing (referer)