Fixed my own stupidity