fix bug about deletepaper