Fixing outline errors