fix for #2439, set bounds on alpha