refactor(dispatch): remove unused codes