replace ' by " in system events