fixed routes issues