fixing some bugs into registry
dsd
t
gtbranch master