fixing invalid route