hotfix for incorrect clipboard manipulation