fix default values in dict-ref implementation