fixed translate problem