fixed few interface issue in register