fixed not create db when not Notepaper dir.