bug fix routes