issue # 19.
fixed pot scaling