adjusting the value for metadata mapping in the form to handle space or _