remove foldminlines and add plugins