fix wrong response type for old firefoxes