fix getting key values for camelCase variables