The Psim fix

His idea. Shit works now. Took us at least 2 hours to come up with this.