fixed photos nil object