Fix memory checking bug. :)