hook on correct object