Fix some bugs in process tasks and update README