clean preference xml