Remove bad lines from instructions