remove unnecessary jumps in translation