fix register and notice