Fixed typo in blocks function