Just be careful before you error the working key.............Remember Mazda is a Ford System..............If you error all keys you might need two keys for a start to program key back in................So, make sure you have two keys before you delete the keys....................And yes if you can crank the engine than I don't think you have a Immobiliser problem................Because Ford and Mazda don't crank engine if you have immobiliser problem.............