tidy up PhotoController