bug fixes for zero length lines