Fixed the disorder bug and only count effect taskes