hooks path fix