fixed broken pull deal by id