fix db type detection