strip non-code lines