fix admin view photo