fractions: fix comparison
master/client: use dpdb and file import