The following global variables are missing: id;