fixed problems with older SQLite and missing .print