make hooks working again