Fix namespace issue in cube core.