fix for papers db error