Bugfix load entities and publish new version