@register.filter(is_safe=True)
@stringfilter
def wordremoveb(value, arg):
	if len(value.split()) > int(arg):
		words = value.split()
		wordsuni = [x.encode('utf-8') for x in words][int(arg):]
		final = ' '.join(wordsuni)
	else:
		final = value
	return final