Quick fix to secure check.