fixing warnings, update your CMAPI