fixed: click at runtime is no more crush cause program
Expected value and variance are calculating now