security issue fix :: et-sec change by Saurabh, check always returning true