fix db sql, obj conf