fix leaky this/super from string template