Fix errors in build
Missing variables