Fix for CP Learning