Fix bugs in Outline