Dictionary printing fixed