fixed some variances