fix bugs of checking security in libs-main and libs-security-image