fixed success handler template var