Patching NPE