Fix paper deletion and modification