fix warning for paper version