Fixed my last fix

I accidentally had it trim too many characters off of the end