fix call to process_photos method