graphs now reset correctly