fix getopts line