fixed bug caused by capitalisation