fix alpha and direction