change tag and archive get logic