fix. forgot to set dictionary