fixing servlet response