fix graph for beta