fixed bug regarding which tags are submitted to API