bug fixes in asynctask calls