clean up early lines