Leveldb fixing

Should go to Nemo ?
if not ignore and close.