fix empty page problem
fix connect error