a better workaround for issue #1591 this fixes error related to non "ID"
primarykey