hotfix: alpha calculated using ratio was wrong