issue in dispatchTask