fixed polyfolder bug