Fix error on tag controller