fixed scaling problem by setting hard-max