Debugging nif file issues