small changes to translator