Fixed 2 Null pointer derefrences in both nTox and toxic