makedict bugfix