lines removing fix