Fixed Dispatch error, but found error in scheduler