Bug fix: passing success func in save as the right
as the right argument