fixed french language
fixed npe in tag writer