made handling multikey tags nicer