refix photoController