fixed responseText issue