created a customized filter 'replace' in templatetags