code change for active encog core master