clean path for clipboard