Ive corrected a bug in memo (problem with "inf")