fixed SafeAction type signature