Fix deps
Dtor
Fix flags