added setting contract when auction is finished