fixing group previous ranking