fix wordpressfolder handling