remove invalid folder