fix params order on snapshots.py