apply consistent  on variables