bug -- correctly compute humidity