[#139] - fixed hooks