Bug fix for Tidal Lock library