fix hostspirit editor's bug