fix alpha bug