HHServer

Fix some bugs