solving tag issues