fix case sensitive bugs