fixes graphs