some bug fixes and translations