fix leveldb and .gitignore files