fix variable missing