Fixed snapshot action function return.