fixed Title Case Function