[FIX] setup Environment for the report thread