Fixed creating stash.db