fix the logic for handling new PLC keys