resource dispatch bug fix