improvement of handling asynctask