[added] custom page path, [fixed] register error on first time