some fixes for template bindings (ru)