fix register notification