custom fields bug fixed