fixes to transient vectors, few other functions