fixes due to the API changes of neuron-builder; related to cortexjs/neuron-builder#8