Fixed dictId=-1 issue