fix graph heights