fixed how to resolve template file

Nice, I also think render shouldn't know how template found by `resolve()` method.