Fixed some errors

Added str=str.toUpperCase()