fix routes issues