thanks @jaynel, showing alerts when no line is present
warning cleanup