register validation

Change-Id: Ib82d3fc031086c6bc4c5cee70870ea08693b04d0