Fix variance problem