fixed bugs relating to creation of contracts, bids and notifications