BUG 10347 Capitalize() no funciona adecuadamente SOLVED

- Incorrect function to capitalize
- Change function to capitalize