Fix stupid error on dict assignment