correct getopts statement