fix read for clipboard