minor translation fix
minor refactoring