Fix hooks

Signed-off-by: Borislav Angelov <borislav.angelov@gmail.com>