I used the official javascript library to create and attach a transaction to the tangle, but the first 2 characters of the tag are always changed to some random characters.
eg. HELLOWORLD9999999999999999
is changed to XYLLOWORLD9999999999999999
How to fix this?