fixed bug with copy in chrome plugin