fixes #7374 saving activity