fix bug 0/1 for yes/no