fix start hook error