contract num changed to contract id