added same fix to separate outer lines