fix weirdness and missingness