fixed broken graphs