Fix runTask