fixes casing issues on sqlite (closes #3)