fixed bug from getopts changing 0