Fixed a terrible, no good, crappy bug

Fixed a terrible, no good, crappy bug