fixed bug that made CM instance the incorrect size