prevent deprecation warnings until we migrated to mysqli