improve outline feature