corrected a database column which was supposed to be autoincrementing, it was breaking the custom field editor
tweak to make sure we actually load the custom field to edit