fixed translation amount error