Cleanup extra lines