fixed bug in tags-id mode