trying to fix psych error