fixing database check for 9.2.4