register: fixed redirect