Showing alerts when no module or line present; thanks @jaynel for the patch