glorious core macro not working