Fix tags statement in models