bug fix for add Custom Field