execution prevented when line is empty

need to prevent it when it's filled with spaces only too
line with spaces only is prevented from execution