Fixed bug on mapping field type lowercase or mixed case schema.