changes from awhub
log scale fixes