fixed dict subsetting