Fixed TypeError for cubism driver