minor changes in snippet.class get_data method #2