FIX: Referer management bug