fix strange bug with fileExistsAtPath: by saveToURL:/closeWithCompletionHandler:/openWithCompletionHandler: of database
remove unnecessary variables p1
remove unnecessary variables p2
remove unnecessary variables p3