better way to remove outlines