Changed brackets.
Fixed destructive bug with tags.