fixed a small issue with the memory scanner in c# #3