removed console.log, added safety export buttons behavior