fix a node startup bug