added code to parse so it adds /1 to each string, if the string is a/b it wont read a/b/1 it will read a/b but if its just a it will read a/1