fixed thumbnail on Photo model