clyde logic bugfix