fixed seg fault in xnet.cpp due to non-initialized spike container