do not overwrite DB if it can't be read
python 2/3 compatible iterators (ugly as sh*t)
reset filter properly
id => idf, numbers in format strings