Changed some case-sensitive bugs