fix problem with lower case dict attributes