fixed add tags and choose protocol bug