Fix single line corner cases