bugfix vari warning