Fix globalStatus referencing