fixed family plot to work with new dict