fixed problem where path was receiving the user input name.