Fixes the previously not working stuff.