Fix bug when folder name is a number

Folder names are handled as indexes. 
This is a problems when a folder is named with an integer.