Fixed snapshot action function return.
Merge branch 'test' into dev