fixed a bug at BackDoorLogic