Fixed typo in lapply