clipboard reading error fixed (thanks Rosto)