corrects the IDs of the entities

This one resolves the #86 issue.