Fixed NPE in mech ops initialization