fix case problem