Fixed simpleformatter when dealing with snapshots

Fixed simpleformatter when dealing with snapshots