bugfix(xhr) asure consistend response type