fix serverSide redirectTo with rootPath != default