fix 3680: spike CEGs
inherited `dir` member var was overriden by subclasses, and so CREG set the wrong one