t660: fix the problem when the case mismatch.