quick and crude fix to scaling problem
issue #8