work around type idiocy in sqlite