Fixed an issue in singleton mode. Fixed an issue when starting without hash.