cleaning unnecessary "usings"; outofmemory exception still not fixed