fix for multiple folders not being created