Fized versioning

- Fixed block scanning
- Fixed gate connection logic