Fixed getopts