commit stop party function