fix cpu mode refs #6013