fix(xhr): open method properly