correction on register route