fixed bug in outputting location names
removed printing of whole html response