fixed ngui and htmlngui