fixed translator

fixes #1028, #988, #983