clean up debug code
fetch data from server