Two small fixes

- remove unused variable 
- initialize PG::flushed in constructor