Fix block snippet