register route fix