fix psensor patch