Fixed memory leaks!