try debug memory leaks