before removing line loop