fixed accessing snippet content