Fix reporting error.
resolved with my fix found via pylint