Fixed a small bug for translation