unbreak contract system

fix bug introduced in 72c83a32e