Fix error in vawa() function