fix single template expand to specific fname