fix routes issue