fixing bug with / routes