Fix bug in outline