Bug fix to removal of private symbols