fix size graph