fix for failure to change 'active' template property (#94)