fix for int vs string id fields