fixed rendering bug where rewritten arguments could not be localized