Error converting to int. memo