fix register hidden field