fixed bug with contract line 1