fixing more photo bugs