Attempt to fix outline generation; still not working.