fix case letter problem with allow-xx