fix bug for paper, apply localization