fixed bug in psf_indexing for copying it over