fix plotting translation error