fix gru derp lol

Parts of this code borrowed from DU