pathpicker cleanup