add back the security check