fixes crash with chanceDecomp and NEI