Fixed bug for capital letters