This should be removed or changed to a logger debug call