fixes issues with clipboard