improvements and fixes for the psfind and psa methods.