fix compile issue in paper