`tags` hasn't been set anywhere in this function