fixed graph rendering