fix hook failed messages