Fixed invalid dict for 4.0.