fixed the result graphs