corrected bash empty vars check ... damn