Fix crash with newer version of technic