remove old paper code