corrected lines loading