Bug fix on translator