removed translation function bug