minor correction to error handling in onTranslations