fixed escaping error in ext helper