fix public routes