renamed misspelled variable in the get-folder case