Fix and error when have a folder inside other folder