little xhr fix