Fixed the issue with lgiths always being on