fixed issue with loading photometry pipeline