fix for new hooks

fucking flags ^^