bugfixes for foreign languages