fix hook