fixed the gatekeeper issue