Bug fix on register activness