attempt to address pointer to pointer issues in bug #46