Fixed a crash in the oneway command