fixed a bug caused by uppercase