corrected bashgen error