sanity check for parent ID
fixed bug with missing setting field name