correct non dish program logic