modify GLR demo