fixed a re-declaration that was filling up the logs