got rid of memory leaks in navPane