fixed multiple tag bug