global trick isn't working