Fix the stooped global bug