- Fixed bug in checkLine