Fixed fieldname case bug