Fix fromResponse bug