fixed the photogrid