fix issue with id being set