remove unnecessary logic from main.js for duress key