change show variables to retrieve global instead of session