fixed an error in odd_rank.sh