rewrote titlecase filter titlecase filter