fix the error for XHPhotographyHelper weakSelf.