revised database error2