Fixed misprint in the function 'addTLV'