Fix error in TagController