Fix hook stuff