add subnet check
add color in ora_err function