fix end of line grep