corrected the baseDbClass