Fixed a bug when the -y option is not there.