Fix SmartyResolver order