remove LINES and regenerate cassettes