fixed db controller class in engine