check for the global nmml instead of the buffer on file loads