bug fixes of Activations