dropping bad lines