added fix for old bug in psf_start