bugfixes to format and language