fixes firefox bug with async sync requests