base validate