fixed %feature "flatnested" with %extend
added simple template to save values in current scope