Fix stupid error causing permanent exception