fix variable definition