Getopts variable cleaning