resolved bug 1192,1218,1229
Merge branch 'register_item'