brown bag getopts fix