fix several issues when visit site via handheld