Fixed an error that would occur once.