fixed translate method