Fixed the bad discard bug that caused it to explode