fixing some routes issues