(bug) Trying to use "tags" in the wrong scope