smal bugfix in ephys API