Plugin update

Fixed issue when maxLines is 1