memo dynamic creating & error