fixed bad case