SQLDB fix for Michael