made version locking for papertrail better